<?php 

$id = $_GET['id'];

$delarr = glob('./Images/*');

unlink($delarr[$id]);

header('location:./index.php');









 ?>